package git.soulbgm.sync.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * 数据库同步的属性
 *
 * @author SoulBGM
 * @date 2022/04/24 14:38
 */
@ConfigurationProperties(prefix = "db.sync")
public class DBSyncProperties {

    /**
     * 需要同步的程序地址
     */
    private List<String> syncIp;

    public List<String> getSyncIp() {
        return syncIp;
    }

    public void setSyncIp(List<String> syncIp) {
        this.syncIp = syncIp;
    }
}
